@import '~@/dark_var.less';

.powerSettingModal {
  width: 400px !important;
  :global {
    .ant-modal-wrap {
      display: flex;
    }
    .ant-modal-header {
      border-bottom: none !important;
    }
    .ant-modal-body {
      padding-top: 0;
    }
    .ant-modal-footer {
      border-top: none !important;
    }
  }

  .modalTitle {
    display: flex;
    align-items: center;
    .text {
      margin-left: 8px;
      font-size: 18px;
    }
  }
  .label {
    height: 32px;
    margin-right: 16px;
    color: @text-color-tertiary;
    line-height: 32px;
  }
  .powerStrategyType {
    display: flex;
    :global {
      .ant-space-item {
        display: flex;
        align-items: center;
        height: 32px;
      }
      .ant-radio-wrapper {
        color: @text-color-secondary;
      }
      .ant-radio-wrapper.ant-radio-wrapper-checked {
        color: @text-color;
      }
    }
  }
  .targetPosition {
    display: flex;
    margin-top: 24px;
    .item {
      display: flex;
      flex: auto;
      align-items: center;
      justify-content: space-between;
      height: 32px;
      .powerRadio {
        display: flex;
        align-items: center;
        .text {
          margin-right: 22px;
        }
        .input {
          width: 80px !important;
          margin-right: 6px !important;
          padding-right: 8px !important;
          padding-left: 8px !important;
          border-radius: 4px !important;
          :global {
            .ant-input-number-handler-wrap {
              display: none;
            }
            .ant-input-number-input {
              padding: 0;
            }
          }
        }
      }
    }
  }
}
